﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013BF RID: 5055
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TextJoinQueryScRsp : IMessage<TextJoinQueryScRsp>, IMessage, IEquatable<TextJoinQueryScRsp>, IDeepCloneable<TextJoinQueryScRsp>, IBufferMessage
	{
		// Token: 0x17003FBB RID: 16315
		// (get) Token: 0x0600E264 RID: 57956 RVA: 0x0025D151 File Offset: 0x0025B351
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TextJoinQueryScRsp> Parser
		{
			get
			{
				return TextJoinQueryScRsp._parser;
			}
		}

		// Token: 0x17003FBC RID: 16316
		// (get) Token: 0x0600E265 RID: 57957 RVA: 0x0025D158 File Offset: 0x0025B358
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TextJoinQueryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003FBD RID: 16317
		// (get) Token: 0x0600E266 RID: 57958 RVA: 0x0025D16A File Offset: 0x0025B36A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TextJoinQueryScRsp.Descriptor;
			}
		}

		// Token: 0x0600E267 RID: 57959 RVA: 0x0025D171 File Offset: 0x0025B371
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinQueryScRsp()
		{
		}

		// Token: 0x0600E268 RID: 57960 RVA: 0x0025D184 File Offset: 0x0025B384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinQueryScRsp(TextJoinQueryScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.textJoinList_ = other.textJoinList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E269 RID: 57961 RVA: 0x0025D1BA File Offset: 0x0025B3BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TextJoinQueryScRsp Clone()
		{
			return new TextJoinQueryScRsp(this);
		}

		// Token: 0x17003FBE RID: 16318
		// (get) Token: 0x0600E26A RID: 57962 RVA: 0x0025D1C2 File Offset: 0x0025B3C2
		// (set) Token: 0x0600E26B RID: 57963 RVA: 0x0025D1CA File Offset: 0x0025B3CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003FBF RID: 16319
		// (get) Token: 0x0600E26C RID: 57964 RVA: 0x0025D1D3 File Offset: 0x0025B3D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TextJoinInfo> TextJoinList
		{
			get
			{
				return this.textJoinList_;
			}
		}

		// Token: 0x0600E26D RID: 57965 RVA: 0x0025D1DB File Offset: 0x0025B3DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TextJoinQueryScRsp);
		}

		// Token: 0x0600E26E RID: 57966 RVA: 0x0025D1EC File Offset: 0x0025B3EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TextJoinQueryScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.textJoinList_.Equals(other.textJoinList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E26F RID: 57967 RVA: 0x0025D23C File Offset: 0x0025B43C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.textJoinList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E270 RID: 57968 RVA: 0x0025D289 File Offset: 0x0025B489
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E271 RID: 57969 RVA: 0x0025D291 File Offset: 0x0025B491
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E272 RID: 57970 RVA: 0x0025D29C File Offset: 0x0025B49C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			this.textJoinList_.WriteTo(ref output, TextJoinQueryScRsp._repeated_textJoinList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E273 RID: 57971 RVA: 0x0025D2EC File Offset: 0x0025B4EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.textJoinList_.CalculateSize(TextJoinQueryScRsp._repeated_textJoinList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E274 RID: 57972 RVA: 0x0025D340 File Offset: 0x0025B540
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TextJoinQueryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.textJoinList_.Add(other.textJoinList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E275 RID: 57973 RVA: 0x0025D38D File Offset: 0x0025B58D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E276 RID: 57974 RVA: 0x0025D398 File Offset: 0x0025B598
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.textJoinList_.AddEntriesFrom(ref input, TextJoinQueryScRsp._repeated_textJoinList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005990 RID: 22928
		private static readonly MessageParser<TextJoinQueryScRsp> _parser = new MessageParser<TextJoinQueryScRsp>(() => new TextJoinQueryScRsp());

		// Token: 0x04005991 RID: 22929
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005992 RID: 22930
		public const int RetcodeFieldNumber = 6;

		// Token: 0x04005993 RID: 22931
		private uint retcode_;

		// Token: 0x04005994 RID: 22932
		public const int TextJoinListFieldNumber = 11;

		// Token: 0x04005995 RID: 22933
		private static readonly FieldCodec<TextJoinInfo> _repeated_textJoinList_codec = FieldCodec.ForMessage<TextJoinInfo>(90U, TextJoinInfo.Parser);

		// Token: 0x04005996 RID: 22934
		private readonly RepeatedField<TextJoinInfo> textJoinList_ = new RepeatedField<TextJoinInfo>();
	}
}
